<?php
require FORAGE_APP_PATH . '/behaviours/faceting/FacetingQueryBehaviour.php';

/**
 * This class is responsible for representing a user query
 * suitable for searching a Solr instance.
 *
 * @author Rob Young <rob@roryoung.co.uk>
 * @package forage.engine.solr
 */
class ForageSolrQuery extends ForageQuery
{
  /**
   * Add the required behaviours for this query
   */
  public function __construct()
  {
    parent::__construct();
    // add extra behaviours here
    $this->addBehaviour(new ForageFacetingQueryBehaviour());
  }
}
